package cn.edu.abtu.mapper;

import cn.edu.abtu.entity.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.springframework.stereotype.Repository;

/**
 * (SysUser)表数据库访问层
 *
 * @author makejava
 * @since 2022-11-16 11:48:22
 */
@Repository
public interface SysUserMapper extends BaseMapper<SysUser> {

    @Delete("delete from sys_user_role where user_id = #{userId}")
    public boolean deleteUserRole(Long userId);

}

